import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
  strict: true,
  state: {
    count:0
  },
  mutations: {
    transmit(state,param){
      state.count=param.num;
    }
  }
})

export default store
